package com.project.light.service;

import com.project.light.dto.DataStationInfo;
import com.project.light.dto.DataStationInfoParam;
import com.project.light.dto.DateParam;
import com.project.light.entity.GroupStation;
import com.project.light.entity.StationInfo;
import com.project.light.entity.StationInfoR;

import java.util.List;

public interface StationInfoService {

    StationInfo getById(Integer id);

    void insert(StationInfo entity) throws Exception;

    void update(StationInfo entity) throws Exception;

    void delete(Integer id) throws Exception;

    StationInfoR getByIdR(Integer id, String sysId);

    void insertR(StationInfoR entity) throws Exception;

    void updateR(StationInfoR entity) throws Exception;

    void deleteR(Integer id) throws Exception;

    GroupStation getGroupByStationId(Integer stationId);

    void insertGroupStation(GroupStation entity) throws Exception;

    void updateGroupStation(GroupStation entity) throws Exception;

    void deleteGroupStation(Integer id) throws Exception;

    List<DataStationInfoParam> getSysList(DateParam dateParam);

    List<DataStationInfo> getStationList(DateParam dateParam);

    List<DataStationInfo> getIdList(DateParam dateParam);
}
